package com.emode.entity;

import java.util.Date;

/**
 * UserNotifications entity. @author MyEclipse Persistence Tools
 */

public class UserNotifications implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -6679391310970540941L;
	private Long nid;
	private Bbsusers bbsusersByNuid;
	private Bbsusers bbsusersBySuid;
	private Long fid;
	private Short ntype;
	private Date ntime;
	private String content;
	private Short isRead;

	// Constructors

	/** default constructor */
	public UserNotifications() {
	}

	/** minimal constructor */
	public UserNotifications(Bbsusers bbsusersByNuid, String content) {
		this.bbsusersByNuid = bbsusersByNuid;
		this.content = content;
	}

	/** full constructor */
	public UserNotifications(Bbsusers bbsusersByNuid, Bbsusers bbsusersBySuid,
			Long fid, Short ntype, Date ntime, String content, Short isRead) {
		this.bbsusersByNuid = bbsusersByNuid;
		this.bbsusersBySuid = bbsusersBySuid;
		this.fid = fid;
		this.ntype = ntype;
		this.ntime = ntime;
		this.content = content;
		this.isRead = isRead;
	}

	// Property accessors

	public Long getNid() {
		return this.nid;
	}

	public void setNid(Long nid) {
		this.nid = nid;
	}

	public Bbsusers getBbsusersByNuid() {
		return this.bbsusersByNuid;
	}

	public void setBbsusersByNuid(Bbsusers bbsusersByNuid) {
		this.bbsusersByNuid = bbsusersByNuid;
	}

	public Bbsusers getBbsusersBySuid() {
		return this.bbsusersBySuid;
	}

	public void setBbsusersBySuid(Bbsusers bbsusersBySuid) {
		this.bbsusersBySuid = bbsusersBySuid;
	}

	public Long getFid() {
		return this.fid;
	}

	public void setFid(Long fid) {
		this.fid = fid;
	}

	public Short getNtype() {
		return this.ntype;
	}

	public void setNtype(Short ntype) {
		this.ntype = ntype;
	}

	public Date getNtime() {
		return this.ntime;
	}

	public void setNtime(Date ntime) {
		this.ntime = ntime;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Short getIsRead() {
		return this.isRead;
	}

	public void setIsRead(Short isRead) {
		this.isRead = isRead;
	}

}